cmake_minimum_required(VERSION 3.16)
project(i_shop C)

set(CMAKE_C_STANDARD 11)

include_directories(programs)
include_directories(headers)

add_executable(i_shop headers/typedef.h
        programs/main.c headers/main.h
        programs/utility.c headers/utility.h
        programs/account.c headers/account.h
        programs/data.c headers/data.h
        programs/MD5.c headers/MD5.h
        programs/CLERK.c headers/CLERK.h
        programs/ADMIN.c headers/ADMIN.h
        programs/modify.c headers/modify.h
        programs/print.c headers/print.h
        programs/SALES.c headers/SALES.h)
